package com.gw.vip.message.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Map;

/**
 * @author GW
 * @description
 * @since 2022-04-17
 */
@Data
public class MessageDto {
    /**
     * 消息模板id
     **/
    @NotNull
    private Long templateId;

    /**
     * 消息接收方
     **/
    @NotNull
    private String[] tos;

    /**
     * 消息参数
     **/
    private Map<String, String> params;
}
